package cn.easytogo.bean;

import java.util.List;

public class User {
	private String id;
	private String username;
	private String password;
	private String email;
	private String realname;
	private String usergroup_id;
	private String admin;
	private String roleIds;
	private String registDate;
	private List<Resource> resources;
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getRealname() {
		return realname;
	}
	public void setRealname(String realname) {
		this.realname = realname;
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUsergroup_id() {
		return usergroup_id;
	}
	public void setUsergroup_id(String usergroupId) {
		usergroup_id = usergroupId;
	}
	
	public String getAdmin() {
		return admin;
	}
	public void setAdmin(String admin) {
		this.admin = admin;
	}
	public String getRoleIds() {
		return roleIds;
	}
	public void setRoleIds(String roleIds) {
		this.roleIds = roleIds;
	}
	
	public String getRegistDate() {
		return registDate;
	}
	public void setRegistDate(String registDate) {
		this.registDate = registDate;
	}
	public List<Resource> getResources() {
		return resources;
	}
	public void setResources(List<Resource> resources) {
		this.resources = resources;
	}
	@Override
	public String toString() {
		return "User [admin=" + admin + ", email=" + email + ", id=" + id
				+ ", password=" + password + ", realname=" + realname
				+ ", registDate=" + registDate + ", resources=" + resources
				+ ", roleIds=" + roleIds + ", usergroup_id=" + usergroup_id
				+ ", username=" + username + "]";
	}
}
